﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gmis.Model
{/// <summary>
	/// Column:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Column
	{
		public Column()
		{}
		#region Model
		private string _sid;
		private string _sname="";
		private string _sshort;
		private string _sparent="";
		private int _nsort=0;
		private bool _lenable=true;
		private string _scomment="";
		private DateTime _dcreate= DateTime.Now;
		private string _svillage;
		/// <summary>
		/// 
		/// </summary>
		public string sId
		{
			set{ _sid=value;}
			get{return _sid;}
		}
		/// <summary>
		/// 名称
		/// </summary>
		public string sName
		{
			set{ _sname=value;}
			get{return _sname;}
		}
		/// <summary>
		/// 简码
		/// </summary>
		public string sShort
		{
			set{ _sshort=value;}
			get{return _sshort;}
		}
		/// <summary>
		/// 父栏目ID
		/// </summary>
		public string sParent
		{
			set{ _sparent=value;}
			get{return _sparent;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int nSort
		{
			set{ _nsort=value;}
			get{return _nsort;}
		}
		/// <summary>
		/// 是否有效
		/// </summary>
		public bool lEnable
		{
			set{ _lenable=value;}
			get{return _lenable;}
		}
		/// <summary>
		/// 备注信息
		/// </summary>
		public string sComment
		{
			set{ _scomment=value;}
			get{return _scomment;}
		}
		/// <summary>
		/// 默认创建日期
		/// </summary>
		public DateTime dCreate
		{
			set{ _dcreate=value;}
			get{return _dcreate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SVillage
		{
			set{ _svillage=value;}
			get{return _svillage;}
		}
		#endregion Model

	}
}
